package cn.iocoder.yudao.module.ao.controller.admin.teacher.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.time.LocalDate;
import java.math.BigDecimal;
import javax.validation.constraints.*;
import org.springframework.format.annotation.DateTimeFormat;

@Schema(description = "管理后台 - 教师信息新增/修改 Request VO")
@Data
public class TeacherSaveReqVO {

    @Schema(description = "教师唯一ID", example = "8975")
    private Long teacherId;

    @Schema(description = "部门名称")
    private Long deptName;

    @Schema(description = "姓名", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
    @NotEmpty(message = "姓名不能为空")
    private String teacherName;

    @Schema(description = "工号（OA）", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "工号不能为空")
    private String teacherNo;

    @Schema(description = "职务")
    private String position;

    @Schema(description = "性别（1男 2女）")
    private Integer gender;

    @Schema(description = "年龄")
    private Integer age;

    @Schema(description = "婚否（1已婚 0未婚）")
    private Integer maritalStatus;

    @Schema(description = "民族")
    private String ethnicity;

    @Schema(description = "身份证号")
    private String idCard;

    @Schema(description = "出生日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate birthDate;

    @Schema(description = "联系方式")
    private String contactPhone;

    @Schema(description = "入职日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate entryDate;

    @Schema(description = "入职年份")
    private Integer entryYear;

    @Schema(description = "入职月份")
    private Integer entryMonth;

    @Schema(description = "已满年限")
    private BigDecimal serviceYears;

    @Schema(description = "户口类型")
    private String householdType;

    @Schema(description = "籍贯")
    private String nativePlace;

    @Schema(description = "户籍地址")
    private String householdAddress;

    @Schema(description = "现住地址")
    private String currentAddress;

    @Schema(description = "学历")
    private String educationLevel;

    @Schema(description = "专业")
    private String major;

    @Schema(description = "毕业学校")
    private String graduateSchool;

    @Schema(description = "专业证书")
    private String professionalCertificate;

    @Schema(description = "教资证书编码")
    private String teachingCertificateNo;

    @Schema(description = "颁发单位")
    private String certificateIssuer;

    @Schema(description = "颁发日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate certificateIssueDate;

    @Schema(description = "签合同次数")
    private Integer contractCount;

    @Schema(description = "签订合同")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate contractSignDate;

    @Schema(description = "合同到期")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate contractExpireDate;

    @Schema(description = "社保")
    private String socialInsurance;

    @Schema(description = "紧急联系")
    private String emergencyContact;

    @Schema(description = "个人E-MAIL")
    private String personalEmail;

    @Schema(description = "QQ号")
    private String qqNumber;

    @Schema(description = "政治面貌")
    private String politicalStatus;

    @Schema(description = "人事异动")
    private String personnelChanges;

    @Schema(description = "爱好及特长")
    private String hobbiesSpecialties;

    @Schema(description = "毕业时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate graduationDate;

    @Schema(description = "职业等级")
    private String professionalLevel;

    @Schema(description = "职称")
    private String professionalTitle;

}